<?php

namespace App\Http\Controllers;

use App\Models\Goods;
use DemeterChain\Main;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;

class day0926 extends Controller
{
    public function test(){
        Mail::raw('这是一封来自1804A的信',function($msg){
            $msg->from('1055196811@qq.com');//来源于
            $msg->subject('这里有一封邮件');//邮件标题
//            $msg->to('550965220@qq.com');//发送给谁,单金林
            $msg->to('1055196811@qq.com');//发送给谁
        });
    }
}
